<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% load static %}
    <link rel="stylesheet" href="{% static '/css/bootstrap.min.css' %}">
    <script src="{% static '/js/jquery-3.2.1.min.js' %}"></script>
    <script src="{% static '/js/bootstrap.min.js' %}"></script>
    <meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-4 col-lg-offset-4">
            <h3>餐厅信息</h3>
            <a href="/waiter/">返回主页</a>
        </div>
    </div>
</div>
<div class="container">
    <div class="row">
        <div class="col-md-4 col-lg-offset-4">
            <table class="table table-striped">
                <tr>
                    <td>编号</td>
                    <td>状态</td>
                    <td>可容纳人数</td>
                    <td>基础费用</td>
                </tr>
                {% for table in data1 %}
                    <tr>
                        <td>{{ table.id }}</td>
                        <td>{{ table.state }}</td>
                        <td>{{ table.number }}</td>
                        <td>{{ table.cost }}</td>
                    </tr>
                {% endfor %}
            </table>
            <a href="/dishes/">查看菜品</a>
        </div>
    </div>
</div>
</body>
</html>